﻿
namespace Util.dispatcher {
    public interface IMessage
    {

        /// <summary>
        /// 事件类型
        /// </summary>
        int Type { get; set; }

        /// <summary>
        /// 事件类型
        /// </summary>
        string Event { get; set; }

        /// <summary>
        /// 发送者
        /// </summary>
        System.Object Sender { get; set; }

        /// <summary>
        /// 消息体
        /// </summary>
        System.Object[] Params { get; set; }

        /// <summary>
        /// 转化字符串
        /// </summary>
        /// <returns></returns>
        string ToString();
    }
}

